#ifndef NEWFILE_H
#define NEWFILE_H

//(*Headers(NewFile)
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)


#include <wx/statbmp.h>
#include <wx/valtext.h>
#include "../include/Config.h"

class NewFileDialog: public wxDialog
{
	public:

		NewFileDialog(wxWindow* parent, Config* config, wxWindowID id=wxID_ANY);
		virtual ~NewFileDialog();

		//(*Declarations(NewFile)
		wxStaticText* StaticText2;
		wxTextCtrl* TextFieldLength;
		wxTextCtrl* TextFieldFPS;
		wxButton* ButtonOK;
		wxTextCtrl* TextFieldWidth;
		wxStaticText* StaticText1;
		wxStaticText* StaticText3;
		wxTextCtrl* TextFieldHeight;
		wxButton* ButtonCancel;
		wxStaticText* StaticText4;

		//*)


	wxStaticBoxSizer* StaticBoxSizer2;
	wxFlexGridSizer* FlexGridSizer4;
	wxFlexGridSizer* FlexGridSizer3;
	wxFlexGridSizer* FlexGridSizer2;
	wxStaticBoxSizer* StaticBoxSizer3;
	wxBoxSizer* BoxSizer1;
	wxStaticBoxSizer* StaticBoxSizer1;
	wxFlexGridSizer* FlexGridSizer1;
	wxStaticBitmap* StaticBitmap1;

	protected:

		//(*Identifiers(NewFile)
		static const long ID_STATICTEXT1;
		static const long ID_CUSTOM1;
		static const long ID_STATICTEXT2;
		static const long ID_CUSTOM3;
		static const long ID_STATICTEXT3;
		static const long ID_CUSTOM2;
		static const long ID_STATICTEXT4;
		static const long ID_CUSTOM4;
		static const long ID_STATICBITMAP1;
		//*)

	private:

		//(*Handlers(NewFile)
		void OnButtonOKClick(wxCommandEvent& event);
		void OnButtonCancelClick(wxCommandEvent& event);
		//*)

		Config* config;

		DECLARE_EVENT_TABLE()
};

#endif
